package designPattern.State;
//
public class Main {
/*	public static void main(String[] args) {
		int feelingScore = 50;
		if(feelingScore < 60) {
			System.out.println("很难过");
		} else if(feelingScore == 60) {
			System.out.println("心如止水");
		} else {
			System.out.println("开心地一跳三尺高");
		}

		// 状态模式
		Context person = new Context();
		if(feelingScore < 60) {
			person.setState(new BadState());
		} else if(feelingScore == 60) {
			person.setState(new CalmState());
		} else {
			person.setState(new HappyState());
		}
		person.getState().doAction(person);
	}*/
}
